import { yxRequest } from "..";
import { IResult } from "@/types/common";

/**
 * 仪表盘顶部信息
 */
export function dashboardTopInfo() {
  return yxRequest.get<IResult>({
    url: '/admin/home/top/info'
  })
}

/**
 * 仪表盘中间信息
 */
export function dashboardCenterInfo() {
  return yxRequest.get<IResult>({
    url: '/admin/home/middle/info'
  })
}

/**
 * 仪表盘底部信息
 */
export function dashboardBottomInfo() {
  return yxRequest.get<IResult>({
    url: '/admin/home/bottom/info'
  })
}
